{% import markdown %}
{% init share_to_list = [] %}

<div class="card">
    <span class="btn-line-height">状态</span>
    <div class="float-right">
        <a class="x-tab-btn status-btn" data-id="{{file.id}}" data-status="1">置顶</a>
        <a class="x-tab-btn status-btn" data-id="{{file.id}}" data-status="0">活跃</a>
        <a class="x-tab-btn status-btn" data-id="{{file.id}}" data-status="-1">归档</a>
    </div>
</div>

{% include note/component/note_orderby.html %}

<div class="card">
    <div class="pad5 group-detail-btn-box">
        <a class="btn btn-default note-share-btn" data-id="{{file.id}}">分享</a>
        <a class="btn btn-default rename-btn" data-id="{{file.id}}" data-name="{{file.name}}">重命名</a>
        <a class="btn btn-default" href="/note/management?parent_id={{file.id}}">批量操作</a>
    </div>
</div>

